package com.poly.polyarr;

public class Student extends Person{
    private double m_Score;
    public Student(String Name, int Age, double Score) {
        super(Name, Age);
        this.m_Score = Score;
    }

    public double getScore() {
        return m_Score;
    }

    public void setScore(double m_Score) {
        this.m_Score = m_Score;
    }

    public String Say() {
        return super.Say() + m_Score + "\t";
    }
    public void Study() {
        System.out.println(super.getName() + "同学正在学习");
    }
}
